package net.zjitc.service.impl;

import net.zjitc.dao.LoginDao;
import net.zjitc.dao.impl.LoginDaoImpl;
import net.zjitc.pojp.AdminUser;
import net.zjitc.service.LoginService;

/**
 * Created by Administrator on 2017/11/16.
 */
public class LoginServiceImpl implements LoginService {
    LoginDao dao=new LoginDaoImpl();
    public AdminUser findByUsernameAndPassWord(String username, String password) {
        return dao.findByUsernameAndPassWord( username,  password);
    }
}
